import request from '@/utils/request'
export function getListAPI(params) {
    return request({
      url: 'park/building',
      params
    })
  }

  export function updateBuildingAPI(data) {
    return request({
      url: 'park/building',
      method: 'put',
      data
    })
  }

  export function delBuildingAPI(id) {
    return request({
      url: `park/building/${id}`,
      method: 'delete'
    })
  }